package com.zjjk.transfer.source.entity;

import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 数据字典
 *
 * @author xuziyang
 * @since 2021-03-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ltech_data_dictionary")
public class SourceDataDictionary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

/**
     * 父级id
     */
    private Integer parentId;

/**
     * 字段类型
     */
    private Integer type;

/**
     * 字典类型详情
     */
    private String typeName;

/**
     * 字典内容
     */
    private String value;

/**
     * 排序
     */
    private Integer sortBy;

/**
     * 拼音排序
     */
    private String sortPinyin;

/**
     * 描述
     */
    private String description;

/**
     * 字典级别
     */
    private Integer level;

/**
     * 创建时间
     */
    private Date createTime;

/**
     * 更新时间
     */
    private Date updateTime;

}
